package com.example.testmap.demos.web.mapper;

import com.example.testmap.demos.web.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface StudentMapper {
    Studert selectStudent(String name);

    Teacher selectTeacher();

    void saveExcel(UserInfo user);

    void saveBatch(@Param("userInfos") List<UserInfo> userInfos);

    void insertBatch(@Param("userInfos") List<UserInfo> userInfos);

}
